using System;

#region Rfc info
/*
3.3.14. TXT RDATA format

    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    /                   TXT-DATA                    /
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

where:

TXT-DATA        One or more <character-string>s.

TXT RRs are used to hold descriptive text.  The semantics of the text
depends on the domain where it is found.
 * 
*/
#endregion

namespace System.Net.DnsToolkit.Packet.Records
{
    public class RecordTXT : IRecord {
        public string TXT { get; set; }

        public QTypeEnum QType {
            get {
                return QTypeEnum.TXT;
            }
        }

        public override string ToString() {
            return string.Format("\"{0}\"", TXT);
        }

    }
}
